home *** CD-ROM | disk | FTP | other *** search
/ Tripas 4 / TRIPAS 004.iso / sin.EXE / SIN / BASE / models / scientist.def < prev    next >
Encoding:
Text File  |  1998-11-03  |  9.7 KB  |  313 lines

  1. SDEF
  2. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/scientist.def $
  3. // $Revision:: 21                                                             $
  4. //   $Author:: Beau                                                           $
  5. //     $Date:: 10/26/98 11:33p                                                $
  6. //
  7. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  8. // All rights reserved.
  9. //
  10. // This source may not be distributed and/or modified without
  11. // expressly written permission by Ritual Entertainment, Inc.
  12. //
  13. // DESCRIPTION:
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. // MODEL AUTHOR:
  16. // Beau
  17. //
  18. // SINED SECTION
  19. //
  20. //
  21. /*SINED Neutral_Scientist (1 .5 0) (0 0 0) (0 0 0)
  22. Scientist Type Guy
  23. */
  24.  
  25. //
  26. // FILE DECLARATIONS
  27. //
  28.  
  29. // Model Commands
  30. path models/scientist
  31. scale 1.07
  32.  
  33. // Base Model
  34. sci_base.sbm
  35.  
  36. // Skins
  37. sci_base.tga
  38. sci_damage.tga
  39.  
  40. // Normal Animations
  41. walk1      sci_walk.SAM
  42. idle1     sci_idle1.SAM
  43. run1        sci_run.SAM
  44. death1    sci_death1.SAM
  45. death2    sci_death2.SAM
  46. death3    sci_death3.SAM
  47.  
  48. melee1            sci_attack1.sam
  49. melee2            sci_attack2.sam
  50. melee3            sci_attack3.sam
  51.  
  52. gibdeath_upper        sci_gibdeath1.SAM
  53. gibdeath_lower        sci_gibdeath2.SAM
  54.  
  55. // Pain Location Based Animations
  56. pain_torso_upper       sci_paintorsoupper.sam
  57. pain_torso_lower       sci_paintorsolower.sam
  58. pain_head              sci_painhead.sam
  59. pain_leg_right_upper   sci_painlegright.sam
  60. pain_leg_right_lower   sci_painlegright.sam
  61. pain_leg_left_upper    sci_painlegleft.sam
  62. pain_leg_left_lower    sci_painlegleft.sam
  63. pain_arm_right_upper   sci_painarmright.sam
  64. pain_arm_right_lower   sci_painarmright.sam
  65. pain_arm_left_upper    sci_painarmleft.sam
  66. pain_arm_left_lower    sci_painarmleft.sam
  67.  
  68. // Death Location Based Animations
  69.  
  70. // Crouching Pain Location Based Animations
  71.  
  72. // Crouching Death Location Based Animations
  73.  
  74. // Optional Animations
  75. work1             sci_work1.sam
  76. sitting            sci_sitting.SAM
  77.  
  78. // Scripted Animations
  79. type     sci_type.sam
  80. point    sci_point.sam
  81.  
  82. // Id And Group Definitions
  83. id   5 group head flesh 
  84. group head damage 4.0
  85. id  15 group torso_upper fabric
  86. group torso_upper damage 1.0 
  87. id  18 group torso_lower fabric
  88. id  10 group torso_lower twosided
  89. group torso_lower damage 1.0
  90. id  45 group leg_left_upper fabric
  91. group leg_left_upper damage .8
  92. id  50 group leg_left_lower fabric
  93. group leg_left_lower damage .6
  94. id  65 group leg_right_upper fabric
  95. group leg_right_upper damage .8 
  96. id  70 group leg_right_lower fabric
  97. group leg_right_lower damage .6 
  98. id  85 group arm_left_upper fabric
  99. group arm_left_upper damage .8 
  100. id  90 group arm_left_lower fabric
  101. group arm_left_lower damage .6
  102. id 105 group arm_right_upper fabric
  103. group arm_right_upper damage .8 
  104. id 110 group arm_right_lower fabric 
  105. id 200 group arm_right_lower bone gun 180 180 0
  106. group arm_right_lower damage .6
  107.  
  108.  
  109. //
  110. // INITIALIZATION SECTION
  111. //
  112. //
  113. !init:
  114.  
  115. //
  116. // SERVER Initialization Commands
  117. //
  118.  
  119. // Class Setup
  120. server classname actor
  121. server setsize "-16 -16 0" "16 16 80"
  122. server script global/enemy_meleeweapon.scr
  123. //server script global/neutral.scr
  124. server health 30
  125. server meleedamage 10
  126. server meleerange 90
  127.  
  128.  
  129. // Sound Aliases
  130.  
  131. //
  132. // CLIENT Initialization Commands
  133. //
  134.  
  135. // Sound Aliases
  136. client aliascache snd_pain1 "monsters/scientist/pain1.wav" 1
  137. client aliascache snd_pain2 "monsters/scientist/pain2.wav" 1
  138. client aliascache snd_pain3 "monsters/scientist/pain3.wav" 1
  139. client aliascache snd_pain4 "monsters/scientist/pain4.wav" 1
  140. client aliascache snd_death1 "monsters/scientist/death1.wav" 1
  141. client aliascache snd_death2 "monsters/scientist/death2.wav" 1
  142. client aliascache snd_death3 "monsters/scientist/death3.wav" 1
  143. server aliascache snd_idle1 "monsters/scientist/idle1.wav" 1
  144. server aliascache snd_idle2 "monsters/scientist/idle2.wav" 1
  145. server aliascache snd_idle3 "monsters/scientist/idle3.wav" 1
  146. server aliascache snd_idle4 "monsters/scientist/idle4.wav" 1
  147. server aliascache snd_idle4 "monsters/scientist/idle4.wav" 1
  148. server aliascache snd_sightenemy1 "monsters/scientist/site1.wav" 1
  149. server aliascache snd_sightenemy2 "monsters/scientist/site2.wav" 1
  150. server aliascache snd_sightenemy3 "monsters/scientist/site3.wav" 1
  151. server aliascache snd_sightenemy4 "monsters/scientist/site4.wav" 1
  152. server aliascache snd_sightenemy5 "monsters/scientist/site5.wav" 1
  153. server aliascache snd_panic1 "monsters/scientist/panic1.wav" 1
  154. server aliascache snd_panic2 "monsters/scientist/panic2.wav" 1
  155. client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  156. client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  157. client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
  158. client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
  159. client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
  160. client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  161. client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  162. client aliascache snd_pour1 "monsters/scientist/pour.wav" 1
  163. client aliascache snd_fizz1 "monsters/scientist/fizz.wav" 1
  164. client aliascache snd_shake1 "monsters/scientist/shake.wav" 1
  165. client aliascache snd_choke1 "monsters/grunt/death1.wav" 1
  166.  
  167.  
  168. //
  169. // SHARED initialization commands
  170. //
  171.  
  172. // Sound Aliases
  173.  
  174.  
  175. //
  176. // MAIN SECTION
  177. //
  178. //
  179. !main:
  180.  
  181. // Normal Animations
  182. server death1 first deathsound
  183. client death1 first randomsound snd_death 1 2
  184. client death1 3 randomsound snd_kneefall .6 4
  185. client death1 18 randomsound snd_bodyfall .7 4
  186. server death2 first deathsound
  187. client death2 first randomsound snd_death 1 2
  188. client death2 4 randomsound snd_bodyfall .7 4
  189. client death2 8 randomsound snd_kneefall .7 4
  190. server death3 first deathsound
  191. client death3 first randomsound snd_choke 1 2
  192. client death3 2 randomsound snd_kneefall .7 4
  193. client death3 10 randomsound snd_bodyfall .7 4
  194.  
  195. server melee1 2 movementsound
  196. server melee1 2 melee
  197. client melee1 2 randomsound snd_whoosh 1 4
  198.  
  199. server melee2 2 movementsound
  200. server melee2 2 melee
  201. client melee2 2 randomsound snd_whoosh 1 4
  202.  
  203. server melee2 1 movementsound
  204. server melee3 1 melee
  205. client melee3 1 randomsound snd_whoosh 1 4
  206.  
  207. server walk1 1 movementsound
  208. client walk1 1 footstep
  209. server walk1 5 movementsound
  210. client walk1 5 footstep
  211.  
  212. server run1 0 movementsound
  213. client run1 0 footstep
  214. server run1 4 movementsound
  215. client run1 4 footstep
  216.  
  217. // Pain Location Based Animations
  218. server pain_head            first painsound
  219. client pain_head            first randomsound snd_pain 1 2
  220. server pain_torso_upper     first painsound
  221. client pain_torso_upper     first randomsound snd_pain 1 2
  222. server pain_torso_lower     first painsound
  223. client pain_torso_lower     first randomsound snd_pain 1 2
  224. server pain_arm_right_upper first painsound
  225. client pain_arm_right_upper first randomsound snd_pain 1 2
  226. server pain_arm_right_lower first painsound
  227. client pain_arm_right_lower first randomsound snd_pain 1 2
  228. server pain_arm_left_upper  first painsound
  229. client pain_arm_left_upper  first randomsound snd_pain 1 2
  230. server pain_arm_left_lower  first painsound
  231. client pain_arm_left_lower  first randomsound snd_pain 1 2
  232. server pain_leg_right_upper first painsound
  233. client pain_leg_right_upper first randomsound snd_pain 1 2
  234. server pain_leg_right_lower first painsound
  235. client pain_leg_right_lower first randomsound snd_pain 1 2
  236. server pain_leg_left_upper  first painsound
  237. client pain_leg_left_upper  first randomsound snd_pain 1 2
  238. server pain_leg_left_lower  first painsound
  239. client pain_leg_left_lower  first randomsound snd_pain 1 2
  240.  
  241. // Death Location Based Animations
  242.  
  243. // Crouching Pain Location Based Animations
  244.  
  245. // Crouching Death Location Based Animations
  246.  
  247. // Optional Animations
  248. client work1 2 randomsound snd_shake 1 2
  249. client work1 3 randomsound snd_shake 1 2
  250. client work1 4 randomsound snd_shake 1 2
  251. client work1 5 randomsound snd_shake 1 2
  252. client work1 5 randomsound snd_idle 1 4
  253. client work1 6 randomsound snd_fizz 1 2
  254. client work1 28 randomsound snd_pour 1 2
  255.  
  256. server gibdeath_upper first group head +nodraw
  257. server gibdeath_upper first group torso_upper +nodraw
  258. server gibdeath_upper first group arm_left_upper +nodraw
  259. server gibdeath_upper first group arm_left_lower +nodraw
  260. server gibdeath_upper first group arm_right_upper +nodraw
  261. server gibdeath_upper first group arm_right_lower +nodraw
  262.  
  263. server gibdeath_upper first group torso_lower +skin1
  264. server gibdeath_upper first group leg_left_upper +skin1
  265. server gibdeath_upper first group leg_left_lower +skin1
  266. server gibdeath_upper first group leg_right_upper +skin1
  267. server gibdeath_upper first group leg_right_lower +skin1
  268.  
  269. server gibdeath_lower first group torso_lower +nodraw
  270. server gibdeath_lower first group leg_left_upper +nodraw
  271. server gibdeath_lower first group leg_left_lower +nodraw
  272. server gibdeath_lower first group leg_right_upper +nodraw
  273. server gibdeath_lower first group leg_right_lower +nodraw
  274.  
  275. server gibdeath_lower first group head +skin1
  276. server gibdeath_lower first group torso_upper +skin1
  277. server gibdeath_lower first group arm_left_upper +skin1
  278. server gibdeath_lower first group arm_left_lower +skin1
  279. server gibdeath_lower first group arm_right_upper +skin1
  280. server gibdeath_lower first group arm_right_lower +skin1
  281.  
  282.  
  283. // Scripted Animations
  284.  
  285. //
  286. // SOURCESAFE Update Log
  287. //
  288. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/scientist.def      $
  289. // 
  290. // 21    10/26/98 11:33p Beau
  291. // added melee attacks 
  292. // 
  293. // 20    10/26/98 10:56p Beau
  294. // 
  295. // 19    10/23/98 5:13p Beau
  296. // 
  297. // 18    10/16/98 9:53p Phook
  298. // performed sanity checks on all neutrals
  299. // 
  300. // 17    10/13/98 1:57p Beau
  301. // 
  302. // 16    9/22/98 7:51p Zak
  303. // tweaked animations and sounds
  304. // 
  305. // 15    9/21/98 9:56p Zak
  306. // 
  307. // 14    9/20/98 8:36p Onethumb
  308. // Semi-final revisions complete, almost ready for first half beta
  309. //
  310.  
  311.  
  312.  
  313.